package com.dibang.app.mvp.abs;

/**
 * Created by wxl on 2019/7/1.
 */

public abstract class AbsPresenter<V ,P ,M > implements BasePresenter<V,P,M> {

    protected V view;

    protected M model;

    @Override
    public void injectProvider(MvpProvider<V, P, M> provider) {
        view = provider.getProvider().getView();
        model = provider.getProvider().getModel();
    }
}
